# -*- coding: utf_8 -*-
# @Create   : 2021/8/10 14:58
# @Author   : yh
# @Remark   : 视频质量分析view层
from mxsoftpy import Module

video_quality_module = Module('video_quality_module', url_prefix='/video')

from .video_group import *

video_quality_module.add_resource(VideoGroupList, '/group_list.sy')
video_quality_module.add_resource(VideoGroupAdd, '/group_add.sy')
video_quality_module.add_resource(VideoGroupDelete, '/group_delete.sy')
video_quality_module.add_resource(VideoGroupUpdate, '/group_update.sy')
video_quality_module.add_resource(VideoGroupSelect, '/group_select.sy')

from .video import *

video_quality_module.add_resource(VideoTest, '/video_test.sy')
video_quality_module.add_resource(VideoAdd, '/video_add.sy')
video_quality_module.add_resource(VideoDelete, '/video_delete.sy')
video_quality_module.add_resource(VideoDeleteCheck, '/video_delete_check.sy')
video_quality_module.add_resource(VideoRetrieve, '/video_retrieve.sy')
video_quality_module.add_resource(VideoUpdate, '/video_update.sy')
video_quality_module.add_resource(VideoMove, '/video_move.sy')
video_quality_module.add_resource(VideoSelect, '/video_select.sy')
video_quality_module.add_resource(VideoPreview, '/video_preview.sy')
video_quality_module.add_resource(VideoImportTemplate, '/video_import_temp.sy')
video_quality_module.add_resource(VideoImport, '/video_import.sy')

from .conf import *

video_quality_module.add_resource(DeviceTypeList, '/conf/device_list.sy')
video_quality_module.add_resource(DeviceTypeAdd, '/conf/device_add.sy')
video_quality_module.add_resource(DeviceTypeDelete, '/conf/device_delete.sy')
video_quality_module.add_resource(DeviceTypeUpdate, '/conf/device_update.sy')

video_quality_module.add_resource(StreamList, '/conf/stream_list.sy')
video_quality_module.add_resource(StreamAdd, '/conf/stream_add.sy')
video_quality_module.add_resource(StreamDelete, '/conf/stream_delete.sy')
video_quality_module.add_resource(StreamUpdate, '/conf/stream_update.sy')

video_quality_module.add_resource(ResolutionList, '/conf/resolution_list.sy')
video_quality_module.add_resource(ResolutionAdd, '/conf/resolution_add.sy')
video_quality_module.add_resource(ResolutionDelete, '/conf/resolution_delete.sy')
video_quality_module.add_resource(ResolutionUpdate, '/conf/resolution_update.sy')

video_quality_module.add_resource(TaskCycleList, '/conf/task_cycle_list.sy')
video_quality_module.add_resource(TaskCycleAdd, '/conf/task_cycle_add.sy')
video_quality_module.add_resource(TaskCycleDelete, '/conf/task_cycle_delete.sy')
video_quality_module.add_resource(TaskCycleUpdate, '/conf/task_cycle_update.sy')

video_quality_module.add_resource(TestItemsList, '/conf/test_items_list.sy')
video_quality_module.add_resource(TestItemsAdd, '/conf/test_items_add.sy')
video_quality_module.add_resource(TestItemsDelete, '/conf/test_items_delete.sy')
video_quality_module.add_resource(TestItemsUpdate, '/conf/test_items_update.sy')

from .inspection_plan import *

video_quality_module.add_resource(InspectionPlanAdd, '/plan_add.sy')
video_quality_module.add_resource(InspectionPlanRetrieve, '/plan_retrieve.sy')
video_quality_module.add_resource(InspectionPlanDelete, '/plan_delete.sy')
video_quality_module.add_resource(InspectionPlanStop, '/plan_stop.sy')
video_quality_module.add_resource(InspectionPlanStart, '/plan_start.sy')
video_quality_module.add_resource(InspectionPlanStartCheck, '/plan_start_check.sy')
video_quality_module.add_resource(InspectionPlanUpdate, '/plan_update.sy')
video_quality_module.add_resource(InspectionPlanSelect, '/plan_select.sy')

from .repair_warehouse import *

video_quality_module.add_resource(RepairAdd, '/repair_add.sy')
video_quality_module.add_resource(RepairDelete, '/repair_delete.sy')
video_quality_module.add_resource(RepairSelect, '/repair_select.sy')

from .inspection_task import *

video_quality_module.add_resource(InspectionTempTaskAdd, '/temp_task_add.sy')
video_quality_module.add_resource(InspectionTaskSelect, '/task_select.sy')
video_quality_module.add_resource(InspectionSourceSelect, '/task_source_select.sy')
video_quality_module.add_resource(InspectionTaskDelete, '/task_delete.sy')

from .inspection_record import *
video_quality_module.add_resource(InspectionRecordSelect, '/record_select.sy')


from .video_state import *
video_quality_module.add_resource(VideoStateSelect, '/video_state_select.sy')

from .video_overview import *
video_quality_module.add_resource(DeviceOverview, '/video_overview/device_overview.sy')
video_quality_module.add_resource(FaultDeviceType, '/video_overview/fault_device.sy')
video_quality_module.add_resource(FaultTrendWeek, '/video_overview/fault_trend.sy')
video_quality_module.add_resource(FaultDeviceStatistc, '/video_overview/fault_device_statistic.sy')
video_quality_module.add_resource(FaultTypeStatistc, '/video_overview/fault_type_statistic.sy')
